<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="/lib/jquery-2.1.4.js"></script>
    <script src="/js/home.js"></script>
</head>
<body>
<script>
        var doctorId = getQueryString("doctorId");
        var inquiryId = getQueryString("inquiryId");
        var vurl  = serverAdd+"/wechat/userauth?doctorId="+doctorId+"&inquiryId="+inquiryId;
        location.href="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appId+"&redirect_uri="+vurl+"&response_type=code&scope=snsapi_base&state=fswzd#wechat_redirect";
</script>
</body>
</html>